package com.zhx.IOC;

import org.junit.Test;

/**
 * 导演，负责决定那个演员扮演墨者隔离
 **/
public class Director {
    @Test
    public void direct(){
        //1.导演安排刘德华饰演墨者隔离
        GeLi geLi= new LiuDeHua();
        //2.导演将刘德华注入到墨攻剧本中
       // MoAttack moAttack = new MoAttack(geLi);
//        MoAttack moAttack=new MoAttack();
//        moAttack.setGeLi(geLi);
        //3.开始演出
//        moAttack.cityGateAsk();
    }
}
